<div class="wide form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'action'=>Yii::app()->createUrl($this->route),
	'method'=>'get',
)); ?>

	<div class="row">
		<?php echo $form->label($model,'Id'); ?>
		<?php echo $form->textField($model,'Id'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'AutomaticEmergencyLightsProvided'); ?>
		<?php echo $form->textField($model,'AutomaticEmergencyLightsProvided'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'SourceOfPower'); ?>
		<?php echo $form->textField($model,'SourceOfPower'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'SourceOfPowerOther'); ?>
		<?php echo $form->textField($model,'SourceOfPowerOther',array('size'=>45,'maxlength'=>45)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'NoOfUnitsPerFloor'); ?>
		<?php echo $form->textField($model,'NoOfUnitsPerFloor'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'LocationGasolineOnly'); ?>
		<?php echo $form->textField($model,'LocationGasolineOnly',array('size'=>45,'maxlength'=>45)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'LocatedAtHallways'); ?>
		<?php echo $form->textField($model,'LocatedAtHallways',array('size'=>45,'maxlength'=>45)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'LocatedAtStairwayLandings'); ?>
		<?php echo $form->textField($model,'LocatedAtStairwayLandings',array('size'=>45,'maxlength'=>45)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'Operational'); ?>
		<?php echo $form->textField($model,'Operational'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'ExitPathProperlyIlluminated'); ?>
		<?php echo $form->textField($model,'ExitPathProperlyIlluminated'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'TestedMonthly'); ?>
		<?php echo $form->textField($model,'TestedMonthly'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'Establishment_Id'); ?>
		<?php echo $form->textField($model,'Establishment_Id'); ?>
	</div>

	<div class="row buttons">
		<?php echo CHtml::submitButton('Search'); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- search-form -->